package com.entity.chat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author hlt
 * @since 2019-12-25
 */

public class ChatMsg implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 发送者id
     */
	private String senduserid;
    /**
     * 接收者id
     */
	private String reciveuserid;
    /**
     * 发送内容
     */
	private String content;
    /**
     * 发送时间
     */
	private Date sendtime;
    /**
     * 消息类型
     */
	private String msgtype;
	public String getSenduserid() {
		return senduserid;
	}
	public void setSenduserid(String senduserid) {
		this.senduserid = senduserid;
	}
	public String getReciveuserid() {
		return reciveuserid;
	}
	public void setReciveuserid(String reciveuserid) {
		this.reciveuserid = reciveuserid;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getSendtime() {
		return sendtime;
	}
	public void setSendtime(Date sendtime) {
		this.sendtime = sendtime;
	}
	public String getMsgtype() {
		return msgtype;
	}
	public void setMsgtype(String msgtype) {
		this.msgtype = msgtype;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "ChatMsg [senduserid=" + senduserid + ", reciveuserid=" + reciveuserid + ", content=" + content
				+ ", sendtime=" + sendtime + ", msgtype=" + msgtype + "]";
	}


}
